﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace sieuthi.Threelayer.VO
{
    public class chitietVO
    {
        public string MaHD { get; set; }
        public string MaMH { get; set; }
        public int SL { get; set; }
        public int Gia { get; set; }
        public VO.chitietVO chitietIDataReader(IDataReader dr)
        {
            VO.chitietVO obj = new VO.chitietVO();
            obj.MaHD = (dr["mahd"] is DBNull) ? string.Empty : dr["mahd"].ToString();
            obj.MaMH = (dr["mamh"] is DBNull) ? string.Empty : dr["mamh"].ToString();
            return obj;
        }
    }
}
